import Vue from 'vue'
import Vuex from 'vuex'

import websocket from './modules/websocket'

Vue.use(Vuex)

const store = new Vuex.Store({
  state () {
    return {
      UsdtPrice: 0
    }
  },
  mutations: {
    setUsdtPrice (state, num) {
      state.UsdtPrice = num
    }
  },
  modules: {
	websocket: websocket,
  }
})

export default store
